package com.example.logic;

import com.example.data.JsonInfo;
import com.example.entity.Weather;

public class ViewChange {
	JsonInfo jsoninfo = new JsonInfo();
	String json = jsoninfo.getJson(101010100);
	
	Weather weather= jsoninfo.getWeather(json);
	public void Viewchange(){
		//System.out.println(json);
	}
	
	public String getCurrentLocation() {
		return weather.getCity();
	}
	public String getUpdateTime() {
		return weather.getDate();
	}
	public String getCurrentTem() {
		return weather.getTemp1();
	}
	public String getPmValue() {
		return "100";
	}
	public String getTodayWeather() {
		return weather.getWeather1();
	}
	public String getTodayRange() {
		return weather.getTemp1();
	}
	
}

